var app = angular.module("app",["ngRoute"]);
app.config(["$routeProvider",function($routeProvider){
	$routeProvider
	.when("/home",{
		templateUrl:"page/home.html",
		controller:"homeCtrl1"
	})
	.when('/market:text',{
		templateUrl:'page/market.html',
		controller:"homeCtrl2"
	})
	.when("/prepare",{
		templateUrl:"page/prepare.html",
		controller:"prepareCtrl"
	})
	.when("/crazy",{
		templateUrl:"page/crazy.html",
		controller:"crazyCtrl"
	})
	.when("/mcar",{
		templateUrl:"page/mcar.html",
		controller:"mcarCtrl"
	})
	.when("/mine",{
		templateUrl:"page/mine.html"
//		controller:"mineCtrl"
	})
	.otherwise("/home")
}])


















